/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.spareparts.material.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.spareparts.material.entity.ErpReferPlan;
import com.jeeplus.modules.spareparts.material.mapper.ErpReferPlanMapper;

/**
 * erp查询计划Service
 * @author 王洋
 * @version 2020-10-08
 */
@Service
@Transactional(readOnly = true)
public class ErpReferPlanService extends CrudService<ErpReferPlanMapper, ErpReferPlan> {

	public ErpReferPlan get(String id) {
		return super.get(id);
	}
	
	public List<ErpReferPlan> findList(ErpReferPlan erpReferPlan) {
		return super.findList(erpReferPlan);
	}
	
	public Page<ErpReferPlan> findPage(Page<ErpReferPlan> page, ErpReferPlan erpReferPlan) {
		return super.findPage(page, erpReferPlan);
	}
	
	@Transactional(readOnly = false)
	public void save(ErpReferPlan erpReferPlan) {
		super.save(erpReferPlan);
	}
	
	@Transactional(readOnly = false)
	public void delete(ErpReferPlan erpReferPlan) {
		super.delete(erpReferPlan);
	}
	
}